package com.teaching.teachingsupport.common.constant;

/**
 * 文件路径常量
 */
public class FilePathConstants {
    /**
     * 基础上传目录
     */
    public static final String BASE_UPLOAD_DIR = "uploads/";

    /**
     * 作业相关文件目录
     */
    public static class Homework {
        // 作业附件目录
        public static final String ATTACHMENT_DIR = BASE_UPLOAD_DIR + "homework/attachments/";
        // 学生提交作业目录
        public static final String SUBMISSION_DIR = BASE_UPLOAD_DIR + "homework/submissions/";
        // 批改后的作业目录
        public static final String GRADED_DIR = BASE_UPLOAD_DIR + "homework/graded/";
    }

    /**
     * 教学资源目录
     */
    public static class TeachingResource {
        // 课件目录
        public static final String COURSEWARE_DIR = BASE_UPLOAD_DIR + "resources/courseware/";
        // 教学视频目录
        public static final String VIDEO_DIR = BASE_UPLOAD_DIR + "resources/videos/";
        // 教学文档目录
        public static final String DOCUMENT_DIR = BASE_UPLOAD_DIR + "resources/documents/";
    }

    /**
     * 用户相关文件目录
     */
    public static class User {
        // 用户头像目录
        public static final String AVATAR_DIR = BASE_UPLOAD_DIR + "users/avatars/";
        // 用户上传的临时文件目录
        public static final String TEMP_DIR = BASE_UPLOAD_DIR + "users/temp/";
    }
} 